home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / vb / vbwrite.exe / VBWRITEA.TXT < prev   
Encoding:
Text File  |  1992-07-12  |  1.6 KB  |  104 lines

  1. ******************************************************
  2.  
  3. VBWRITE Demo -- Revision A -- July 12, 1992
  4.  
  5. Author: Jeff Simms -- CIS: 72200,3173
  6.  
  7. Demonstrates adding MS WRITE "Control" to a VB app.
  8.  
  9. ******************************************************
  10.  
  11. Original Demo -- July 6, 1992
  12.  
  13.  
  14. Notes on Revision:
  15.  
  16. 1) Code added for tighter fit, optionally expanding hscroll,
  17.    safer exit, deleting system menu.
  18.  
  19. 2) This code doesn't work with a min button added. The Windows
  20.    session will be lost if the form is minimized.
  21.  
  22. 3) Use the Exit Demo selection to end the demo. The VB session
  23.    will be lost if ended from the VB menubar.
  24.  
  25. 4) The demo is also a utility. Place WIN31API.TXT (in Write format)
  26.    in the root of the C drive for it to work. It will search on a 
  27.    highlighted function from the code window.
  28.  
  29. -------------------------------------------------------------------
  30.  
  31.  
  32. Below are the Menu ID's for Write. You can add menu items 
  33. to the demo using them with PostMessage.
  34.  
  35. The SetParent call was discovered by accident and it looks
  36. like you can use it to make "MDI Child" windows with any app
  37. or with other VB forms. 
  38.  
  39. If you have any questions/suggestions feel free to write.
  40.  
  41. FILE MENU
  42. 1001    
  43. 1002    
  44. 1003    
  45. 1004    
  46. 1005    
  47. 1006    
  48. 1007    
  49. 1008    
  50.  
  51. EDIT MENU
  52. 1010    
  53. 1011    
  54. 1012    
  55. 1013    
  56. 1019    
  57. 1016    
  58. 1017    
  59. 1400    
  60. 1018    
  61. 1014    
  62. 1015    
  63.  
  64. FIND MENU
  65. 1020    
  66. 1021    
  67. 1022    
  68. 1023    
  69.  
  70. CHARACTER MENU
  71. 1040    
  72. 1041    
  73. 1042    
  74. 1043    
  75. 1044    
  76. 1045    
  77. 1046    
  78. 1047    
  79. 1048    
  80.  
  81. PARAGRAPH MENU
  82. 1080    
  83. 1081    
  84. 1082    
  85. 1083    
  86. 1084    
  87. 1085    
  88. 1086    
  89. 1087    
  90. 1088    
  91.  
  92. DOCUMENT MENU
  93. 1100    
  94. 1101    
  95. 1102    
  96. 1103    
  97. 1104    
  98.  
  99. HELP MENU
  100. 1200    
  101. 1201    
  102. 1202    
  103. 1203    
  104.